package com.wang.JinDong2;

public class ProductInShop extends Product {
    private int store;

    public ProductInShop(){

    }
    public ProductInShop(int id, String name, int price, String color, int size, int store) {
       super(id, name, price, color, size);
       this.store=store;
    }
    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    @Override
    public void show() {
        super.show();
        System.out.print(store);
        System.out.println();
    }
}
